package com.apps.ftapp.act;

import android.os.Bundle;
import android.webkit.WebChromeClient;
import android.webkit.WebView;

import com.apps.ftapp.R;
import com.apps.ftapp.activity.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 如何赚钱
 */
public class RuheShareActivity extends BaseActivity {

    @BindView(R.id.webview)
    WebView webview;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ruhe_share);
        ButterKnife.bind(this);

        setTitle("如何赚钱");


        initView();

    }


    private void initView() {
        webview.getSettings().setJavaScriptEnabled(true);//支持js
        webview.setWebChromeClient(new WebChromeClient());
        webview.getSettings().setAllowFileAccess(true);
        webview.loadUrl("http://www.iweishi.cn/fenxiang");
    }
}
